package com.icss.action.citycode;

import com.icss.action.BaseAction;
import com.icss.service.citycode.CityCodeService;

/**
 * 城市代码管理
 * @author shixiaolong
 * @dateJun 18, 2012
 */
public class CityCodeAction extends BaseAction{
	
	CityCodeService cityCodeService;

	public CityCodeService getCityCodeService() {
		return cityCodeService;
	}

	public void setCityCodeService(CityCodeService cityCodeService) {
		this.cityCodeService = cityCodeService;
	}
	
	public String frame(){
		return "frame";
	}
	
	public String list(){
		request.setAttribute("list", cityCodeService.getList(request));
		return "list";
	}

}
